/*
 * @Author: 肖思汗 
 * @Date: 2025-06-16 14:05:01 
 * @Last Modified by:   肖思汗 
 * @Last Modified time: 2025-06-16 14:05:01 
 */
// @ts-nocheck
export default function copyProperties(target, source) {
    for (let key of Object.getOwnPropertyNames(source)) {
        if (key !== 'constructor' && key !== 'prototype' && key !== 'name') {
            let desc = Object.getOwnPropertyDescriptor(source, key);
            Object.defineProperty(target, key, desc);
        }
    }
}
